/*
 * @Author: your name
 * @Date: 2020-11-04 11:06:29
 * @LastEditTime: 2020-11-05 16:19:52
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /crowd-funding/src/components/pages/component/store/waterfall/index.js
 */
import React from 'react'
import './index.scss'

function Waterfall(props) {
	const { picUrlList = [] } = props.item
	return (
		<div className="waterfall">
			{/* 展示图片 */}
			{picUrlList.map((item, index) => {
				const key = `${item}-${index}`
				return (
					<div key={key} className="WaterfallImgList">
						<img src={item} alt="" />
					</div>
				)
			})}
		</div>
	)
}
export default Waterfall
